@import '~antd/dist/antd.css';

.containerBox {
  width: 100%;
  height: 100%;
  color: #000;
}

/* 上传按钮 */
.inputButton {
  margin-bottom: 10px;
  background-color: white;
  text-align: center;
  border-radius: 5px;
  border: none;
  appearance: none;
  font-size: 1rem;
  box-shadow: 0px 8px 28px -6px rgba(24, 39, 75, 0.12),
    0px 18px 88px -4px rgba(24, 39, 75, 0.14);
  transition: all ease-in 0.1s;
  cursor: pointer;
  opacity: 0.9;
}

/* 上传文件名 */
.inputFileName {
  display: inline-block;
  width: 300px;
  margin-left: 10px;
  margin-bottom: -5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 内容框 */
#contextJSON,
pre {
  width: 100%;
  height: calc(100vh - 250px);
  overflow: auto;
}

/* 复制按钮 */
.copyButton {
  margin-top: 10px;
  background-color: white;
  text-align: center;
  border-radius: 5px;
  border: none;
  appearance: none;
  font-size: 1rem;
  box-shadow: 0px 8px 28px -6px rgba(24, 39, 75, 0.12),
    0px 18px 88px -4px rgba(24, 39, 75, 0.14);
  transition: all ease-in 0.1s;
  cursor: pointer;
  opacity: 0.9;
}

.inputButton:hover,
.copyButton:hover {
  transform: scale(1.05);
  opacity: 1;
}

.copyButton[disabled] {
  cursor: not-allowed;
}

/* 布局 */
.site-layout-content {
  height: calc(100vh - 244px);
  width: 100%;
  min-height: 280px;
  border-radius: 5px;
  padding: 4px;
  background: #fff;
}
